<%@ page import="cn.hbnu.domain.Student" %><%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2025/9/8
  Time: 11:11
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <h3>主页面</h3>
    <% Student stu = (Student)request.getAttribute("stu2");%>
    <hr>
    欢迎你<font color="#f00"><%= stu.getSname()%></font>同学,登录成功！
</body>
</html>
